home *** CD-ROM | disk | FTP | other *** search
/ Pro One: Netcracker Netscape Navigator / ProOne: Netcracker Netscape Navigator.iso / pc / nc / nct02050.geo / 00025.ls < prev    next >
Encoding:
Text File  |  1997-03-19  |  1.5 KB  |  81 lines

  1. on startMovie
  2.   Set_CDcounter(5)
  3.   Set_NEXT(1)
  4.   initLesson()
  5.   CheckForTagWd()
  6.   initHiliteSpriteList()
  7.   set_HiliteDelay(30)
  8.   set_CursorRollSprite(14)
  9. end
  10.  
  11. on stopMovie
  12.   sound stop 1
  13.   unLoad()
  14.   setEmptyCursor()
  15. end
  16.  
  17. on TheinitCursor
  18.   initCursorCastNum()
  19.   initCursorList(1)
  20.   set CursorCastNum to getCursor(2)
  21.   cursor([CursorCastNum, CursorCastNum + 1])
  22. end
  23.  
  24. on checkScreenStatus
  25.   CheckRollOver()
  26.   CheckSnakeStatus()
  27.   go(the frame)
  28. end
  29.  
  30. on BlinkNext
  31.   if (the timer > getTimer()) and not soundBusy(2) then
  32.     startTimer()
  33.     if the name of cast the castNum of sprite get_NEXTSprite() = "NEXT" then
  34.       set the castNum of sprite get_NEXTSprite() to the number of cast "NEXT_E"
  35.     else
  36.       set the castNum of sprite get_NEXTSprite() to the number of cast "NEXT"
  37.     end if
  38.   end if
  39. end
  40.  
  41. on PressBtn theBtn
  42.   Set_PressedLast(theBtn)
  43.   switchButt(Get_AnsSprite() + theBtn - 1, "down" & theBtn, "HandleBtn" && theBtn)
  44. end
  45.  
  46. on GoNext
  47.   if not get_Disabled() then
  48.     sound stop 2
  49.     if Get_NEXT() = 1 then
  50.       go("t1")
  51.     else
  52.       if Get_NEXT() = 2 then
  53.         go("t2")
  54.       else
  55.         GoNextMovie()
  56.         exit
  57.       end if
  58.     end if
  59.     Set_NEXT(Get_NEXT() + 1)
  60.   end if
  61. end
  62.  
  63. on GoNextMovie
  64.   PlaySound("GOSOUND.SO1")
  65.   SaveHilite()
  66.   Add_CDcounter(1)
  67.   set cdNum to Get_CDcounter()
  68.   set movieName to item cdNum of Get_CurrentSnakeScreens()
  69.   go("INIT" & Get_ScreenSubject(), movieName & ".GEO")
  70. end
  71.  
  72. on set_MarkSprite theNum
  73.   global MarkSprite
  74.   set MarkSprite to theNum
  75. end
  76.  
  77. on Get_MarkSprite
  78.   global MarkSprite
  79.   return MarkSprite
  80. end
  81.